package com.hl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 规格列表对象 specification
 * 
 * @author ruoyi
 * @date 2025-08-06
 */
public class Specification extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规格ID */
    private Integer id;

    /** 规格名称 */
    @Excel(name = "规格名称")
    private String specificationName;

    /** 规格值 */
    @Excel(name = "规格值")
    private String specificationValue;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 状态：0-禁用，1-启用 */
    @Excel(name = "状态：0-禁用，1-启用")
    private Integer status;

    /** 删除标志：0-未删除，1-已删除 */
    private Integer delFlag;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }

    public void setSpecificationName(String specificationName) 
    {
        this.specificationName = specificationName;
    }

    public String getSpecificationName() 
    {
        return specificationName;
    }

    public void setSpecificationValue(String specificationValue) 
    {
        this.specificationValue = specificationValue;
    }

    public String getSpecificationValue() 
    {
        return specificationValue;
    }

    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("specificationName", getSpecificationName())
            .append("specificationValue", getSpecificationValue())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
